package com.adinnet.admin.classs.service;


import com.adinnet.admin.classs.model.Classs;
import com.adinnet.admin.classs.model.vo.ClassResp;
import com.adinnet.admin.classs.model.vo.ClasssReq;
import com.adinnet.admin.school.model.School;
import com.adinnet.admin.system.model.vo.SysUserInfo;
import com.adinnet.admin.system.model.vo.SysUserInfo;
import com.adinnet.core.JsonResult;
import com.adinnet.core.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;


/**
 * <p>
 * 班级名称 服务类
 * </p>
 *
 * @author zYshuai
 * @since 2020-12-02
 */
public interface ClasssService extends IService<Classs> {

    PageResult<ClassResp> schoolList(ClasssReq classsReq, SysUserInfo sysUserInfo);

    JsonResult delete(Integer classId);

    List<Classs> selectClasssByOrgId(Integer organizationId);

    List<Classs> getListBySchoolId(Integer schoolId, SysUserInfo sysUserInfo);

    List<Classs> getListByUserRole(SysUserInfo sysUserInfo);

    Classs selectClasssForExcel(String schoolName, String className,Integer organizationId,Integer schoolId,Integer sysUserId);

}
